Skip to content

fix(release): make packed-consumer verify self-contained for unpublished versions#2396

Merged
miguel-heygen merged 1 commit into
mainfrom
fix/verify-packed-manifests-unpublished
Jul 14, 2026
Merged

fix(release): make packed-consumer verify self-contained for unpublished versions#2396
miguel-heygen merged 1 commit into
mainfrom
fix/verify-packed-manifests-unpublished

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

What

verify:packed-manifests's consumer fixture (added in #2149) installs each package as a file: tarball, but each tarball pins its inter-@hyperframes deps to the exact release version. On a release bump the new version isn't on the npm registry yet, so bun install resolves those transitive deps from the registry and fails with No version matching <v>.

Why

This passed until now only because the check had only ever run at an already-published version (e.g. a normal PR at 0.7.56). The first real release to run it (v0.7.57) fails, and since publish.yml runs the same step before publishing with no continue-on-error, it would block the actual publish too. Affects every future release.

How

Add an overrides map to the consumer fixture pinning every @hyperframes/* to its sibling local tarball, so transitive deps resolve locally instead of from the registry. Makes the check self-contained pre-publish; behavior at published versions is unchanged.

Test plan

  • Reproduced the failure on a local 0.7.57 bump; with this change bun run verify:packed-manifests passes ("Resolved 90 packed exports and loaded public SDK adapters. Verified clean packed consumer install, type resolution, and CLI startup.").
  • The v0.7.57 release PR (chore: release v0.7.57 #2393) is the real end-to-end exercise once this lands and it rebases.

Not covered: pinning bun's version in CI (separate concern).

verifyPackedConsumer installs each package as a file: tarball, but each tarball pins its inter-@hyperframes deps to the exact release version. On a release bump that version is not on the npm registry yet, so bun resolves the transitive deps from the registry and fails. Add an overrides map forcing every @hyperframes/* to the sibling local tarball, making the check self-contained pre-publish. Exercised by the v0.7.57 release PR.
@miguel-heygen miguel-heygen merged commit 3dcc6e6 into main Jul 14, 2026
41 checks passed
@miguel-heygen miguel-heygen deleted the fix/verify-packed-manifests-unpublished branch July 14, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant